Make vm ks dynamic