Updated error in script