script part modified in jsps.