put commonly executed actions to Rakefile