After much strife these versions of STAR scripts are working (slowly)