That makes sense. My script capture 5 different exposures of the subject. If you call your gphoto2 command within the loop the burst mode will be run five time. 25 images. What are you trying to accomplish.