changed api server url to a plugin option