Added a parameter check
Merge branch 'master' of https://github.com/AW3i/scripts