minor fix to run script; typo fix in main.tex