further updates to the build system, generate enigma2.sh