Moved season adjustment code