done: config converted to Q promises