adding option to use flask-cdn