Move "vid" directive into its own file