add userConfig to io. Fixes #529