adding script to generate new discovery url.