Hi Henk and Erwin,
Thanks to you both for your replies. I have followed Erwin’s advice and changed the instances of ‘terminate’ to ‘TERMINATE’ and unfortunately am still getting the same issue. As Henk has suggested, I’ve provided a link to the .qsf file.
Thanks again for all of your help.