If it is a flask app, register as an extension