Fixes lintian errors, template needs to be updated, remove executable bit from non executable files.