Add vm config check while try to run it