Made changes to the PHP