some autoscales cripts