Supports non-interactive shell
Handles errors in rake tasks