Put back loadFlags