Dynamically change index page

I’m using ximport to store the web pages and within the RESOURCETABLE macro I’m using SSPEC_RESOURCE_XMEMFILE to make them accessible. Basically just following the sample apps. The question I have is whether or not it’s possible to dynamically adjust the index page. I don’t want to edit the content I just want to point the index to an entirely different page.