Tweak offline mode and add it to the config-dist.php file