Added pinlocations to scripts