adds validate option to template

requires the previous pr to copy module as it just passes it through and lets the copy module do the work