modified cms config script to import crab3 and cms_ui environment