separate api and service url to there own variables