random generate adapted is server_app

good