listclass.sh more functional