Download Method and system for controlling peripheral devices connected to a