in reply to Detect options of script runnning in a demon mode
Thanks to all who have replied; I really appreciate your suggestions.