Updated makelangdirs script with pushd/popd