Generalise dcs to work on other distros