optimized imports in udf file