updated plugin with optional settings