more small changes
now can import a directory