Made SimpleCD deployment script more defensive