re-added osx specific setup