Added offsets to the plugin