script now returns the valu of key
 = name