Changed for loop to actually take into account new levels, fixed bug which meant a list wouldn`t be copied if no changed were made since last update. (file truncate means this is a problem, may change in future to sepearate the lists).