var express = require('express'),
    config = require('config'),
    sys = require('sys'),
    exec = require('child_process').exec;

var properties = {
    gateOpenTime : config.get('gate.openTime'),
    openGateScript: config.get('scripts.openGate'),
    closeGateScript: config.get('scripts.closeGate'),
    port: config.get('server.port')
};

function pipeOut(error, stdout, stderr) { sys.puts(stdout) }

var app = express();

app.get('/openGate/', function (req, res) {
    exec(properties.openGateScript, pipeOut);
    setTimeout(function() {
            exec(properties.closeGateScript, pipeOut);
        },
        properties.gateOpenTime
    );
    res.writeHead(200, {
        'content-type': 'text/plain',
        'cache-control': 'private, no-cache, no-store, must-revalidate',
        'expires': '0',
        'pragma': 'no-cache'
    });
    res.end('Opening!');
});

app.listen(properties.port);

@@ -429,125 +429,310 @@
 );%0A%0A
-app.get('/openGate/', function (req, res) %7B%0A    exec(properties.openGateScript, pipeOut);%0A    setTimeout(function() %7B
+console.log('Starting gate contol server...');%0A%0Aapp.get('/openGate/', function (req, res) %7B%0A    console.log('Got opening request, opening the gate...');%0A    exec(properties.openGateScript, pipeOut);%0A    setTimeout(function() %7B%0A            console.log('Gate open time has elapsed, closing the gate...');
 %0A   

Add logging.