Added the write config php file