added -p to the create dir; see issue #2