Imports corrected

Apologies! Neglected to add the imports needed to support the counting of dots and sleeping.