Updated to 1.0.6
Added debug setting