adding in rails project and finishing up the stream script