Fixes to server config

Also other fixes to package run scripts