tested run_valiadation, fixed a bug in dir creation