Fixed sleeptime.
Added logs.