Added features to step command and cd.. command.