added function to convert the xchange rate requested from yahoo finance url
updated script