added custom run script to detect and link with etcd