script: Implement image source setting from script and write a demo for this.