finished basic script for starting stream