detect the SCRIPT? bug in R2