added error page
fixed up command-line formatting