Added possibility for detecting atari in chain.
Atari detection works perfectly now.