Update scripts to new method to load robot and add debug lines