added rubocop defaults and improved centos version detection