import/export from gui