Added setting for activating the API