Bettering config parsing