Added null verification in scripts

modified ice-cream prefab