Adding ability to run analysis locally