refined rakefile