Scan history working with links