Made verbose debug print optional