made standalone with embedded xml. Python script to convert