Finished shell script for compilation.