Replace setup in app_server