There are a few things to remember to do as your nice new document goes through testing and on into production.
Keep your application in self-contained folder structures and use relative references to files used within it.
Use the same network account to run QlikView services on all machines.
If there is a need to identify which server you are running on, use the
ComputerName() function in your script. Alternatively, you could use
$(Include=filename) or preferably
$(Must_Include=filename) to set a variable.
If you use an include file, keep the name the same in all environments but change the contents as appropriate to the environment. So, for example, you may have an include file...