Added device_name to getopts