added a proper error message and proper usage instructions when called without a app name