better logic in when to create symlink