The script above is called "make_iso.sh", there is also one called "make_iso.bat", for windows.
they are both found in any slax-based iso image; wolvix, goblinx, slax, etc
they are also found in linux live scripts
(
http://www.linux-live.org/ )
either script builds a bootable isolinux iso image
you can edit the name of the iso produced.
you must have mkisofs installed also, usually found in cdrtools, etc
so, say you have an empty folder, put your boot and tce folders in that empty folder
and then put the script in the boot folder.
run the script by double-clicking it and selecting "run"
or thru terminal with
cd /folder/name
chmod +x make_iso.sh
./make_iso.sh
the chmod part makes it executable.
you can also choose "run in terminal" when you double-click it and select iso name
name must end in .iso, like my-tinycore.iso
make sure you have a isolinux.cfg setup in boot/isolinux too