Used a get method to pull the array from main.py and use it to populate links