Added convenience code block for switching between urls and local files for testing. Also, stripped out <p> tags