added checks that allow si recipie to be rerun