moved sleep message to config