export studioarchivedir properly