Fix to allow arbitrary pics directory name.