add version switches