Added ps protection for Deploy.php

Added ps protection for Deploy.php