handle runOnce command with rtd script