added more stuff to .pl template