make proper php file