updated _upgrade_junos() and inc debugger to check vars