def METHOD_NAME(name):
    is_running_local = running_local()
    additional_args = {}
    if not is_running_local:
        additional_args = dict(static_url_path="", static_folder="frontend/public")
    app = Flask(name, **additional_args)
    # Pcm globals setter functions before any other before_func
    PCMGlobals(app, running_local=is_running_local)
    SecurityHeaders(app, running_local=is_running_local)
    ExceptionHandler(app, running_local=is_running_local)
    RequestResponseLogging(app=app, logger=logger)
    return app