Changed the header for the script and provided more info for Error cases

All you need to do is move @echo off to the top of the file.