Updated script init