add archive support for modules