Update configFunction.py

Minor changes