add support for analysis with options