Added Database setup, reduce the sleep value