diff --git a/lib/agent/drivers/control-panel2/index.js b/lib/agent/drivers/control-panel2/index.js
index <HASH>..<HASH> 100644
--- a/lib/agent/drivers/control-panel2/index.js
+++ b/lib/agent/drivers/control-panel2/index.js
@@ -204,15 +204,19 @@ var ControlPanelDriver = function(options) {
 
   this.register_device = function(cb){
     logger.info('Attaching device to your account...');
-    var register = require('./register');
+    var remote = require('./remote');
 
-    register({api_key: this.api_key}, function(err, data){
+    remote.attach({api_key: this.api_key}, function(err, data){
       if (err || !data.device_key)
         return cb(err || new Error("Couldn't register this device. Try again in a sec."));
 
       logger.notice('Device succesfully created. Key: ' + data.device_key);
       self.device_key = data.device_key;
 
+      for (var key in data.settings) {
+        common.config.set(key, data.settings[key]);
+      }
+
       common.config.update('control-panel', {device_key: data.device_key}, cb);
     });
   };
Sync settings from panel when attached.