The .vtx file is the compiled version of your script. You don't/can't create it. It is created automatically when the script is compiled. The script is automatically compiled when you run it the first time or after modifying it. You can manually compile it with "texis -C scriptname"