Added feature to add external scripts