         eval "worker_$2"
       fi
 
-    elif [ "$1" == "supervisor" ]; then
-
-      SUPERVISOR_ENV=$2
-      if [ $SUPERVISOR_ENV == "" ]; then
-        SUPERVISOR_ENV="production"
-      fi
-
-      go run scripts/supervisor_status.go $SUPERVISOR_ENV
-      open supervisor.html
-
     elif [ "$1" == "migrate" ]; then
       check_psql
 

          echo -e "\n\nPlease do ./run again\n"
          exit 1;
      fi
    }

    function testendpoints () {

      EP=("dev.koding.com:8090/" "dev.koding.com:8090/xhr" "dev.koding.com:8090/subscribe/info" "dev.koding.com:8090/kloud/kite" "dev.koding.com:8090/kontrol/kite" "dev.koding.com:8090/sourcemaps")

      while [ 1==1 ];
      do
      for i in "${EP[@]}"
        do

           curl $i -s -f -o /dev/null || echo "DOWN $i" # | mail -s "Website is down" admin@thesite.com

        done
      sleep 1
      done
    }



    function chaosmonkey () {

      while [ 1==1 ]; do
        for i in mongo redis postgres
          do
            echo stopping $i
            docker stop $i
            echo starting $i
            docker start $i
            sleep 10
          done
      done

      echo now do "run services" again to make sure everything is back to normal..
    }

    function printconfig () {

      migrateusers

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

      if [ "$2" != "force" ]; then
