revert to using die function so -k tries more but also return errors from functions