Adding Nesty methods to set desired temp and mode in spark core