Adding the script that merges the MR outputs