script cleanup
Merge pull request #32 from gamechanger/ps-publish-fail

script cleanup