Add comments to generator.sh