Added exportConfig, export and import