added checkpoint script