Added print to the overrides and cleaned up the debug env var check