Work on destinations api and fixes on schedules