location script