adds schema column to output, removes debugging