Added use-local argument
python
Removed check_output: Python2.6 compatibility