Changing scripts to remove .php