     module            :     ""
     archive           :     ""
     archiveModule     :     ""
-    name              :     process.env.MEWBOT_NAME    or "mewbot"
+    archiveData       :     ""
+    name              :     process.env.MEWBOT_NAME    or Path.basename(Path.join(__dirname,".."))
     services          :     []
     profile           :     process.env.MEWBOT_PROFILE or "default"
     build             :     false

        Options.archiveModule = value
    else
        Options.archiveModule = "mewbot-module-#{new Moment().format()}"

Parser.on "name",(opt,value)->
    if value and value.length

        mewbot.logger.info "mewbot start archive module at #{packFile}"
        archiver.zipFolder packFile,Path.join(__dirname,"..","mew_modules"),(err,pointer)->
            mewbot.logger.info "mewbot archive module complete at #{packFile}"
            process.exit 0
    else if Options.archiveData.length
        ###
        handle archive-module argument
        ###
        archiver = mewbot.module("archiver")
        packFile = mewbot.getTmpFile Options.archiveData
        if Options.archiveData.indexOf(".zip") < 0
            packFile = "#{packFile}.zip"
        mewbot.logger.info "mewbot start archive data at #{packFile}"
        archiver.zipFolder packFile,Path.join(__dirname,"..","var"),(err,pointer)->
            mewbot.logger.info "mewbot archive data complete at #{packFile}"
            process.exit 0
    else if Options.test and Options.test.length
        ###
