script for removing generated files (clean), script for generating pdf from output tex files, changes to Main