automating link capture