Improved add-to-bin.sh.