Rearranged script1's tables again. Added term and year to the assigned to table (ta can only be assigned once, but to which one?). Finihsed script2, time to test it.