reorder parameter comments to reflect actual parameter order
Switch play module over to argparse, and factor out some duplicated code