Exec works

the command execution works with pipes need to add the redirection