adds target dir to the GI