rewrite vga