Add settings to script data.
Change global and request headers from map to list.
Modify debugging messages.