split IVM power hooks from cmd_ide.c