Since CMSimple_XH 1.6.5 the file cmsimple/userprelude.php will be included before cms.php, if it exists. This offers the possibility to do some early customization without the need to modify index.php (what's especially nice for multilingual websites with multiple index.php). In particular, this file can be used for a maintenance mode by exiting the script execution before cms.php would be included.