Allow archive dir to be overridden