hopefully this is an easy one.  I have a D-Link DIR826l.  I unpacked the .bin file it using binwalk, thus generating a directory with squashfs-root 40 40.7z and 14398F.squashfs. I have made the changes I wanted and would like  to repack everything into a .bin in order to upload onto the router. why I try using fmk's build-firmware.sh, it tells me that this is an unsupported file system and quits. I should mention that I attempted to us unsquashfs_all.sh on the .bin and it didn't work but when I use it in the 14398F.squashfs file inside the binwalked binary, it works there. Any help on how to repack my stuff back into the binary would be very helpful.  Please be kind as I am still learning. 
Repacking firmware for DLink router
firmware