Upadated to work with RHEL 5