Merge pull request #312 from nZEDb/dev

Update post processing by Ugo.
Merge pull request #313 from nZEDb/dev

Fix the catID issue.
Ensure the directory exists
Merge branch 'master' into dev