Added check for dirs with binaries