     algolia              : algolia
     suppressLogs         : no
     authExchange         : "auth"
-    environment          : environment                        # this is where browser knows what kite environment to query for
-    version              : version
+    environment          : options.environment                        # this is where browser knows what kite environment to query for
+    version              : options.version
     resourceName         : socialQueueName
-    userSitesDomain      : userSitesDomain
+    userSitesDomain      : options.userSitesDomain
     socialApiUri         : "/xhr"
     apiUri               : null
     sourceMapsUri        : "/sourcemaps"

            exit 1
        fi

        env PGPASSWORD=social_superuser psql -tA -h #{postgres.host} #{postgres.dbname} -U social_superuser -c "DELETE FROM \"api\".\"channel_participant\"; DELETE FROM \"api\".\"channel\";DELETE FROM \"api\".\"account\";"
        restoredefaultmongodump
        migrateusers



      elif [ "$1" == "buildclient" ]; then

        make -C #{options.projectRoot}/client dist

      elif [ "$1" == "services" ]; then
        check_service_dependencies
