added a little error handling in case PlistBuddy isnt where you expect it