added the line to actually take a picture while the sample notifications run