creates mapreduce scripts