updated hybrid.py to work with folsom