Made ds more compatible with Mac

just kidding it was John