Pipeline logic working, plus new parameters
rdetect outputs files