updated the first three scripts with the continue or redirect option