cliplink-rc: slightly refactored to make it look better.