const fs = require('fs');
let html = fs.readFileSync('index.html', 'utf8');

// Remove the wipe script
html = html.replace(/<script>\s*if \(!localStorage\.getItem\('db_wiped_12'\)\)[\s\S]*?<\/script>/, '');

fs.writeFileSync('index.html', html, 'utf8');
console.log('Removed loop script');
