Added functionality between code ediot and image output