Updated push/pull on the front end to take a list of intervals