refactored autoreconfiguration to work with new API

Fixes automatic reconfiguration when running on Tutum