added stuff to make rhel work