more things and broken generator script

- the script stops after the first case.