Change config to a python file with python variables