changed back flow-init and commented out app.config for upload