Adding device scripts