Cleaned up task.rb