updated cooper script