improving configuration over python files