added path to put_photo