making check_services executable