Changed CUFA to DynamicCall
More CUFA calls replaced with DynamicCall
Introduced ArrayDefinition for scripts.