actually, I created the script now, added some base code, will need to get my head around the logic first