Fix grep-energy.sh