Fixed script based upon OZF-436