centralized config into one file, fixed some script bugs, added db counts to dashboard, added ids for sources without them