added check for distro version