Misread output, question was unanswered and was a duplicate question due to the previously unknown origin of the error causing the script to error.