Updated Rakefile to run tasks directly instead of from shell