Replicate helpers.py to non horizon GUI