Adds exitcode check in the updatescripts #145