Add a guide diagnostic script.