Better config loading