updated logging, version and improved build script