added reflag to the cake build