Connected the data to the script