make sleeptime configurable