Adding user friendly message, fixing lint error, and returning exit code
directly.