The scripts which have at some point worked

although I have bodged and tidied them a bit since then
i will retest them all shortly.