adding discovery script