       check_service_dependencies
       services
 
-    elif [ "$1" == "updatepermissions" ]; then
-      updatePermissions
-
-    elif [ "$1" == "resetdb" ]; then
-
-      if [ "$2" == "--yes" ]; then
-
-        restoredefaultmongodump
-        restoredefaultpostgresdump
-
-        exit 0
-
-      fi
-
-      read -p "This will reset current databases, all data will be lost! (y/N)" -n 1 -r
-      echo ""
-      if [[ ! $REPLY =~ ^[Yy]$ ]]
-      then
-          exit 1
-      fi
-
-      restoredefaultmongodump
-      restoredefaultpostgresdump
     elif [ "$1" == "buildservices" ]; then
       check_service_dependencies
 

    elif [ "$1" == "nodetestfiles" ]; then
      $KONFIG_PROJECTROOT/scripts/node-testing/mocha-runner $2

    elif [ "$1" == "sanitize-email" ]; then
      node $KONFIG_PROJECTROOT/scripts/sanitize-email

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

    elif [ "$1" == "is_pgready" ]; then
      waitPostgresReady

    elif [ "$1" == "is_mongoready" ]; then
      waitMongoReady

    elif [ "$1" == "mongomigrate" ]; then
      mongomigrate $2 $3

    elif [ "$1" == "help" ]; then
      printHelp

    elif [ "$1" == "vmwatchertests" ]; then
      go test koding/vmwatcher -test.v=true

