change figures script