Fixed file closing in config, swapped rune for HasPrefix; now using sdomino's main