fix mapping of device configs, make them programmatically configured