Add parameters so that we can control how the script is called

This removes the need to edit the script for common cases (at least with
Crowbar).