Updated the security key and output redirections