Modifications to rakefile