added Hapi, listens to next and prev, fiddle with md cfg