minor refactoring of rakefile