moving list to config, adding error logging