adds output redirection
every minute for debugging