Use pipe() for STOR and added comments