Added boot type check for uenv module