update plugin manager to except imports correctly