Modified Index and Added in Capture Image API