removed variables for tkid and gag from bfn_header_scripts function - instead just paste any header scripts you need directly in that function