add curl command instead of echo