slightly better rake task and error handling