checkpoint for scripts