get version from env