setting release mode.