Revert 'Added ps protection for Deploy.php'