Update Main4

Updated to run on compute.cse.tamu.edu