location insert script