working on glscript conversion, unstable