make the generate input records script optional