updated to include config