fixed relative link to api script