first run to add links.txt