moved start of the stream to external file
use external stream start in index.coffee