First pass at a standalone tool to analyze REs.