add setFieldByScript sample