Move stdn refs to stdin