Added sandbox check.