Added waitConfig