config_script sudo method