fixing fullPath; not sure why I did cwd[1:] in there - if I had a reason, I'll find it soon enough
add pwd command and set socket timeout to 30 seconds