addonDir must be configured