add value script support