Changed the part of the script that loads the data