This script simulates the discovery agent script inside the enteprise distro