@@ -31,8 +31,9 @@ var _uploadZipInternal = function(functionName, zipData, handler, config) {
 };
 
 var _upload = function(zipContent, config, functionIdentifier) {
-    var handlerName     = global.constants.MODULE_DEFAULT_HANDLER,
-        functionName    = handlerName + '-' + functionIdentifier,
+    var name = config.name || global.constants.MODULE_DEFAULT_HANDLER,
+        handlerName     = global.constants.MODULE_DEFAULT_HANDLER,
+        functionName    = name + '-' + functionIdentifier,
         handler         = 'index.' + handlerName;
 
     return _uploadZipInternal(functionName, zipContent, handler, config);