Added stdout functionality for write