Improved comparing strings
Improved redirection