add main_app to links