Add back accidentally removed code from web interface