added support for cdn_url option