More reliable way of adding purge links