Service Discovery script for Mesos and Marathon