modify pi script for picture taking