Fixed a bug that actually broke all the script

\begin{tikzpicture} is not required in the input files. It is
inserted automatically inserted.