Further testing. Still get list index out of range, but need to inspect the errormessages above to fix it.