Update potential_script.m