fancied up chunkfile.sh