removed flush config and added saving to after load