Depricated version of input redirect is working