add sleep beeween loop configuration