Improved makesymlinks.sh