added daemon option