use flask-script to manage entrypoint