Fixes #114 and #128

New convenience function for looking up parameters (fixes #114) and added missing import to make_command output (fixes #128).