Improved the symlinks generator script