Moved version change to end of build