Add condition for turn off scriptdown