Set upload path depending on version