There needs to be a change in IFS before the 2 curl commands in order to keep line by line formatting