Add number of photos
Add UNIX domain socket support