Added template generation check box