Cleanup
Fix multiple scheduler and std streams