make upload archive configurable