Added conf dict to ADS, changed the hooks structure