Combined HueRevisor's two methods into one and cleaned up some code