image gen working dir