Simple script for using template files