Removed deprecated config options, make config parser python 3 compatible