add method for running jars on map reduce