Added hooks required for level flags tb