Remove with app.app_context() from auto poster