Shell script to execute hive queries in parallel