Cleaned up rake task.