autoscale and pipe