Added logging to figure out why osx is so slow