Fixed bl script + some more tex snippets