Added rewrite/create_named_pipes.sh
Bug fixes