Make scripts executable.
Match generate scripts with outputs.
Fix to work with older Pythons.