Updated doQuery calls for post and get, updated paths on previewer and add header to file edit