Modify build_gateway.inc so that variables are used, thus avoiding a need for editing.  Please review the file to see the variables that are used - they should be obvious.