updated with misc new scripts for thesis preparation