add template processing into build steps