update class loader structure for external script engines