prepare for running with supervisord