Generate php file for default options