Added explicit setup of mode for installed schema