updated autoscale stuff to actually work (imagine that)