Corrected main config