works but got my path in at the moment
typos and bad merge corrected
Merge of ref version
Merge of ref version