add "run as" to initscript and other minor changes