nm: adding code changes required for archive spout