add default scripts, fix memory overflow
stop tracking latex makefile
do some performance improvements