add option for generating scripts