Update makelinks.sh

Most of these changes are just minor changes.