4 Post-build script capture-instance-metadata.sh will attempt to choose the
5 best possible version of Python to use. If the ``$PYTHON`` variable is set,
6 this will be used. If not, we check to see if ``python3`` is available,
7 as this should point to the latest version. If this is also not available,
8 we run with the basic ``python`` command.