dynamic script update