updated prune ebs tool