fixed Proxfile
now it adjusts thresholds based on the light levels