adding functionality for redhat