Replacing pushd y popd