fixed init to work only in system mode. Can't get paths to work in global mode or local mode.