dynamic script assign