working on adding scripts dynamically