Fixing issue with cd not registering as a command