Split the export into configuration/user-data. Change the upload/download processing to be less rendundant code