add binary flag logic to model load and add "case insensitive"