Fixing invalid view for html files; Adding params to script;