Made small changes to php file order