Basis for iradsmain.py without daemon