Removed unused import
Use subprocess.call instead of check_output when the output is not checked