Updated li-setup-env to have a better check for updating versoins