added parameters for the gen-script