make sure this works on a mac - i think the flags might be a bit different :\