DeviceHandler.cgi script for inventory management.