Added some new error messages
Added the error messages (from b05ec44) to the external version of the submit script.