handling sim output and doing analyses locally