tune the config and app startup