Add input redirection