changes for the logging and appropriate release build flags