Changes in makefiles and scripts + some utility LaTeX methods