Create script.tex file