Build files for different environments by swapping in variables