Fixed a bug where the script would create new symlinks in the wrong place if they already existed.