move settings to before local and clean up my plugins