testing json output...very slowly
renaming imll, added copyDirectory function
test
more tweaks