Use Python for config instead of JSON