This should only run if version is not explicitly specified (see below).