Adds new target to set the necessary permissions
Fixes the template path so the cartoon images are displayed again
Adds option to convert call so it doesn't generate <file>-0.ext and <file>-1.ext
Uses the "-flatten" option to merge several image layers so "convert" won't produce <file>-0.ext to <file>-n.ext files
Merge pull request #1 from nsendetzky/master

Fixes template path and preview image generation, easy permission setup