Oops. fixed incorrect input redirection