Now properly handling missing input folder
Properly handle missing input folder