Save new file for every tracking request - need to switch to code and save file at the end
Generate basic code and save file once per request
Changed default to document.load