replacing slug with path through much of code close publiclab/plots2#121 and research note posting fixed publiclab/plots2#123