Fixed input redirection! -Gary, Andrew, and Shashi