Calling new add_header() function while performing the pulling