Add line breaks to curl and fix local execution