minor tweaks
updated how isDir is chosen
another version bump