Update pyLoadHandler.py to fix error

Update to pyLoadHandler.py to fix the 
global name 'config' not defined 
error