Added client_hints and switchflow.refactored.py