Update web script to use local data