Fixes to server config

Also other fixes to package run scripts
Merge pull request #1 from knotsoftware/server-fixes

Fixes to server config