fix monitor script for vga