Upated the the bash script to check for compilation errors, also added option to pass in the page string when running, fixed issues with Optimal.
Merged conflicts