Adding a switch for local debugging.