I reinstalled gretl - 2016d. Same error message and script output saying 'Error executing script: halting'.