Removing bug when restarting. Adding takepicture blocks.
Use the same sample for the whole duration of the Engine