Add RH-family support

This PR consists of two commits but the first has already featured a previous PR and when that is merged, then this one will only amount to the second commit.
i'll fix this line post merge