try to make BatchElement.sh more flexible.