added setproctitle support