added two new functions to upshot.osx