Adds a few variables to capture configuration bits

also a sanity check for stop daemon working