Added handler for provider addition on osx and fixed formatting on handler