Factor out variables to variables.py.