quit on error and precise config
Create the output folder if it doesn't exist