add error message if no script was passed in