Changes bool to int in webserver