[[ RefactorSyntax ]] Fixed some too strict array access calls and the colourization of scripts