Automatically set version