Modified replaceMoodle.php to be executed from the server