Fix online streams not being written in the right place on the streams file.
Added option to start the erlang server.