Added "conditional" wait. Now it can play without any human intervention.