Moving stream into lib folder with other scripts for consistency.