major corrections on script tag