remove php file and modify files for build