Added commands to navigate in same directory and remove trailing whitespace