having gui in case of os = Darwin