Added usekeys flag to model controller