updated build script

also made function to turn off debug logging when not on dev machine.
renamed module

more specific name.
added more error messages