Changed calls to local files to use the current url