First, you have to run the script and select the option to install system images. You can also use the Python frontend to run the script. This is the easiest and simplest way to run script functions.
Have you ever wanted to force a script to act differently when it is invoked by cron? If the script is run interactively, for example, you might want the script to prompt the user for some information ...