added some output to report what we're doing
more output, and fixed mistake when writing to the real orgmetadata table instead of tmp