Add swift script to fetch the data.