added ability to start from CLI