changed stability from dev to stable
updated code to last StreamLibrary syntax