Clean up config