added rakefile functionality