Fixed some minor issues present in the symlink script