add config_io to io initialization in sendCodes