fix reversing year array in py script, reinstate cname