downloading to graph dir, minor fixes