Make stdin work