Replaced '/' with main_app.root_path