Adding protection for checkdowns not existing
Commenting and cleaning up ps1.sh