added periodic photo taking ~1min