pass codes to configuration
accept codes; add switches