Adding dynamic components to the script