save the gdt as the name of the image

EDIT: make your own thread