create symlinks logic