Version option middleware