s script: normalize daemon interaction