           users: {}
         }
 
+        ##Inject collections
+        if pkg_config.collections
+          collectionsInjected={}
+          for key, value of pkg_config.collections
+            collectionsInjected[key]={"slug":value}
+
+          data.data.collections=collectionsInjected
+
+        setup_config = getCustomSetupConfig pkg_id, pkg_version
         # add self as admin
         data.users[config.user._id] = 'admin'
-
-        setup_config = getCustomSetupConfig pkg_id, pkg_version
-        # add self as admin
-        data.users[config.user.id] = 'admin'
 
         # handle null case
         if setup_config

        else
          new_data = data

        # insert into database must happen first to get site _id
        db.get('sites').insert data, (err, site) ->
          throw err if err
          log site


      saveConfig()
    exit()

  # check the current version of lt3
  when 'v', 'version'
    pkg = getPackageJSON()
