Update inventory_execute.py to reformat some long contents