#3 new method to dynamically add scripts