Store original PWD when running command with CLI