added wait s that it doesn't try taking photo all th time. Uncommented picam