Fix script because should returns two lists.