Move code from scf.rake task to colony.rb