Expanded custom flags

flag not persist after restart/reload even if the creating plugin is not
present