Using template files and minifying