minor fixes and adding the script to run all the processes