The script now takes a model parameter that allows users to use various devices.