Added php file to write config file