Added input and output dirs