dump script works