Added the option to retrieve parameters through URL.