updates to latex template and makefile string replacements