Yes, I've added this to the beginning of the script. I'll check if `config && config.port` is available, otherwise we use port 4000.