change argument to curl pipe