Cd and exit are now run through a map