Fixed a bug in the generator script