added condition so I can run on a mac