Create a script to save data