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).
Merge pull request #2 from vuntz/add-params

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