completely rebuilt the plugin and added admin settings