Updating parser to scan sections and use new AST