Updated plugin

Added settings object and callback options.