fix #24, piped commands are now saved separatedly