Added debug=1 flag