add timestamp to json output + db import
wait for all child windows before outputting final result