Adds export functionality using ddb segment scans