Added die on invalid URL