fix paths in config templates
fix paths in refs/USA data creation scripts
add refs+USA data
do not error in edit due to unsupported cookie handling