changed run_parsec.sh to take arguments