updated Rakefile to interface with EMR API