Updates to the scope script.