write out workspaces