 	'''
 	permission: 'user'
 	action: (params, options, done) ->
-		resin = require('resin-sdk-preconfigured')
+		resin = require('resin-sdk').fromSharedOptions()
 		resin.models.application.restart(params.name).nodeify(done)
 
 exports.remove =

	]
	permission: 'user'
	action: (params, options, done) ->
		resin = require('resin-sdk-preconfigured')
		patterns = require('../utils/patterns')

		# Validate the the application name is available

	permission: 'user'
	primary: true
	action: (params, options, done) ->
		resin = require('resin-sdk').fromSharedOptions()
		visuals = require('resin-cli-visuals')

		resin.models.application.get(params.name).then (application) ->
