changed the generate.sh line for the new format syntax