correctly set version via script