wip start of script, need to generate first. check how used in spotlight...