Modified Rakefile

Made changes to allow Rakefile to work in conjunction with Beaker