Changed the factory to read either from CLAS12DIR environment or System property