Added function to run generated forms.