Got saving working again and added a prefs var to have less sublime preference file calls