changed output of curl based on serviceé