Added cellId null check for static obj scripts