Fix symlinks, return codes