Added global log and stdin demos