fix a bug as  got a bad program name
add daemon for supervisord