activate the generator in generator.sh