Because it’s more optimal to generate the script once, then run it everywhere, even on resources constrained devices.