added before and after hooks to plugin init options. Updated README