     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

      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


    }


    function migrateusers () {
      go run $KONFIG_PROJECTROOT/go/src/socialapi/workers/cmd/migrator/main.go -c $KONFIG_SOCIALAPI_CONFIGFILEPATH
    }
