cshell fix
pathlist at line 100 was defined as *pathlist - caused segmentations fault
when doing pathlist[1024] it ran as intended