flag fixes for web interface

Edited some flags in the controller to get translation working in the research web ide.