Replaced fetcheddir with workbase.