Add argument in cli to set log and pid location.