changed IDA to use jpg