Pared down enumerate.sh