Added checks for MacOSX OS on open url