Updates to use same origin files.