fixed load flags
before rewrite of regexp
got the basic sentence regex working