updating script.