Correct script adding missing columns and correcting node key