add external script resource