analyze: add analyze-in-env