Working on scala piping commands.