updated version, fixed nullpointerexception when running on directories
minor readme edit