Fixed running scripts on systems where python3 isn't defined.