fix to work with non-localhost url, add comments, change json file location