changes for ubuntu - lets see if this works on the mac too