script for loading links to paper