refactored build_conf method
Merge branch 'pydrcom' into develop