Why is my script adding to both lists?

You are setting both variables to the same (empty) list in the first instruction.