Add retain options to save plugins