Added writevmf