working build script
email setting workaround