Added option for adding template dir, auto use "lib", auto use "templates" if no template dir given, moved no_compression to compression (so not compressed is now default)
Fixed rights