Updated for deprecations and updates to VM scaling