remove initial current folder from distil and server commands