Moving cd function so it takes the alias defined early