updated shell scripts for running mapreduce and spark programs