flaskr port made configurable