changed analytics, adding scheduler