Now that my latest PR has been merged, there's a convenience function for looking up parameters by name. This code is automatically added by make_optparse, but for this file you'll need to add the following import:

```
from pyqi.core.command import make_parameter_collection_lookup_f
```

and then the following line of code somewhere near the top (make_optparse puts it below the imports and above ```usage_examples```):

```
param_lookup = make_parameter_collection_lookup_f(CommandConstructor)
```

Finally, for each of the three options, change the lines that look like:

```
Parameter=CommandConstructor.Parameters['table']
```

to

```
Parameter=param_lookup('table')
```