Manual command defenses (like deathsight without the ability in vision), will only function when set to defup, not keepup. It also looks like the manualcommand parameter is evaluated at script load time, rather than at run time. Which means, if the settings are changed, the change may not take effect right away.