- Fix some stuff to run on parallel on different cores
 - Output dir as a parameter