Added command to replace a sprite