scripts/hydra_drive_logic.py: correct issue with Python references