Script update at the end