Multiple changes

Added instance KB
Fixed scaling and diag KBs