replaced the mainfile.php with the one in the master