Location script