Add config file checking