Added a validation so you must specify something as param to the script.

If you dont then the script quits immediately with an error message