fixed bugs, added supervisord conf file