Better config and bg fixes