adding pushstate
ignoring tempfiles