Selecting the corret atabox based on configuration.