fixing run, now sends result to ide