Location script update