new config structure

to allow options to be specified for each url