Pass template path to buildInput