Version replacement script