Added saving of workspace to config