updated script section

sends web data. need to change it to support json