Change order of archiving old demo and setting wd