Hook productivity survey up to db