Problems with the Python API. Calling shell command for now