Added output redirection for scons