The system automatically saves the script for you or you have the option to save it manually via the navigation panel. See the screenshot below.