setting and header slight changes

add function to test automate based on site