Main.php config for hosting