Switching check_output calls to check_call so stdout is printed.