Shell script to take pictures with RaspberryPi