408: refactoring rakefile