added the ability to switch doc versions