ad settings file and sh file