set up for vector library switch