Minor changes of python code to conform to the config convention in scala code. Also performance tuning on "set join".