Added exit status codes and sent error messages to stderr instead of stdout.
Added "quiet" option for no printouts on success