Change checkpoint to flags and animate