Make rake tasks run properly