Adding squirrel device code