make py2.6 compatible by removing check_output call :-(