The agreement includes a ceasefire in Lebanon