Missed some places where pandas_output argument was needed, also added debug=False to avoid merge conflicts