Add command string creation with tees
Fix the example script for count to use secure fifos