Updated OR script