const fs = require('fs');
let c = fs.readFileSync('index.html', 'utf8');
if (!c.includes('ai_module.js')) {
    c = c.replace('</body>', '<script src="ai_module.js" defer></script>\n</body>');
    fs.writeFileSync('index.html', c);
    console.log('Injected');
}
