modify script to clean latex junk