fix Device, is function now available with script