Adds an script that upgrades data automatically