Make link idempotent

Fixes #21
Merge pull request #22 from rconradharris/issue21

Make link idempotent