Edited PIR and stills to save photos into /var/www/