HPSA-118 add validations in scriptData