get the PREVIOUS_VERSION variable a little earlier