change savevb to savevm and create log