Added delay command and squares animation