made app/env generic in examples