added support for flask_s3 extention. set app.config['FLASK_ASSETS_USE_S3']=True to use