scripts needed for maps